<?php

/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */

/**
 * Description of MessageContent
 *
 * @author Nhan
 */
namespace Nhan\Realtime;

class ResponseData {

    public $type;
    public $data;
    
    function getType() {
        return $this->type;
    }
    
    function setType($type) {
        $this->type = $type;
    }
    
    function getData() {
        return $this->data;
    }
    
    function setData($data) {
        $this->data = $data;
    }
    
    public function __construct($type, $data) {
        $this->type = $type;
        $this->data = $data;
    }

}
